package my.proxy.rmi;

import my.state.State;

import java.rmi.Remote;
import java.rmi.RemoteException;

/**
 * 糖果机 远程调用接口
 */
public interface GumballMachineRemote extends Remote {
    int getCount() throws RemoteException;

    String getLocation() throws RemoteException;

    State getState() throws RemoteException;
}
